package com.sms.jiujia.ui.setting;

import javafx.scene.text.Font;

/**
 * 全局字体
 *
 * @Author songmingsong
 * @Date 2023/4/28
 **/
public class FontSetting {
    private static Font font;

    private FontSetting() {
    }

    public static Font getFont() {
        if (font == null) {
            font = new Font(Constant.FONT_NAME, Constant.FONT_SIZE);
        }
        return font;
    }
}
